Remove Method (TKey, TValue)

Wintellect PowerCollections

Collapse imageExpand ImageCollapseAll imageExpandAll imageDropDown imageDropDownHover imageCopy imageCopyHover image
[This topic is pre-release documentation and is subject to change in future releases. Blank topics are included as placeholders.]

Removes the key and value from the underlying dictionary of this view. that is equal to the passed in key. If no key in the view is equal to the passed key, or has the given value associated with it, the dictionary and view are unchanged.

Namespace: Wintellect.PowerCollections
Assembly:  PowerCollections (in PowerCollections.dll)

Syntax

C#
public override sealed bool Remove(
	TKey key,
	TValue value
)
Visual Basic (Declaration)
Public Overrides NotOverridable Function Remove ( _
	key As TKey, _
	value As TValue _
) As Boolean
Visual C++
public:
virtual bool Remove (
	TKey key, 
	TValue value
) override sealed

Parameters

key
TKey
The key to remove.
value
TValue
The value to remove.

Return Value

True if the key-value pair was found and removed. False if the key-value pair was not found.

See Also